From 9efdb6003d549370e6006021111482aab8cc2033 Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Tue, 2 Feb 2016 12:17:24 +0800 Subject: [PATCH] Use -mcx16 on x86 platforms only Gbp-Pq: Name 0001-Use-mcx16-on-x86-platforms-only.patch --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 9d0eed5f..e5758950 100644 --- a/configure.ac +++ b/configure.ac @@ -1272,10 +1272,13 @@ CFLAGS="${__saved_CFLAGS}" AC_LANG_POP AC_SUBST(has_128bit_cas) +case "$host_cpu" in + amd64|x86_64|i*86) AS_IF([test "x$has_128bit_cas" = "x1"], [ TS_ADDTO(CFLAGS, [-mcx16]) TS_ADDTO(CXXFLAGS, [-mcx16]) ]) +esac # Check for POSIX capabilities library. # If we don't find it, disable checking for header. -- 2.30.2